package com.qing.gui.jframe;

import javax.swing.*;
import java.awt.*;

public class MyDialog extends JDialog {
    public MyDialog(){
        this.setTitle("我是被弹出来的！");
        this.setVisible(true);
        this.setBounds(100,100,300,100);
        Container contentPane = this.getContentPane();
        contentPane.add(new JLabel("啊对对对"));
    }
}
